home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 January / Disc 3 / Amethyst.iso / live / usr / lib / rpm-3.0.6 / i386-pc-linux / macros next >
Encoding:
Text File  |  2001-04-06  |  1.5 KB  |  55 lines

  1. # Per-platform rpm configuration file.
  2.  
  3. #==============================================================================
  4. # ---- per-platform macros.
  5. #
  6. %_arch            i386
  7. %_vendor        pc
  8. %_os            linux
  9. %_target_platform    %{_target_cpu}-%{_vendor}-%{_target_os}
  10. %optflags        -O2 -m486 -fno-strength-reduce
  11.  
  12. #==============================================================================
  13. # ---- configure macros.
  14. #
  15. %_prefix        /usr
  16. %_exec_prefix        %{_prefix}
  17. %_bindir        %{_exec_prefix}/bin
  18. %_sbindir        %{_exec_prefix}/sbin
  19. %_libexecdir        %{_exec_prefix}/libexec
  20. %_datadir        %{_prefix}/share
  21. %_sysconfdir        %{_prefix}/etc
  22. %_sharedstatedir    %{_prefix}/com
  23. %_localstatedir        %{_prefix}/var
  24. %_lib            lib
  25. %_libdir        %{_exec_prefix}/%{_lib}
  26. %_includedir        %{_prefix}/include
  27. %_oldincludedir        /usr/include
  28. %_infodir        %{_prefix}/info
  29. %_mandir        %{_prefix}/man
  30.  
  31. #==============================================================================
  32. # ---- Build policy macros.
  33. #
  34. #------------------------------------------------------------------------
  35. #    Expanded at end of %install
  36. #
  37. %__arch_install_post    %{nil}
  38.  
  39. %__os_install_post    \
  40. %{nil}
  41.  
  42. %__spec_install_post    \
  43.      %{__arch_install_post} \
  44.      %{__os_install_post}
  45.  
  46. #------------------------------------------------------------------------
  47. #    Expanded at end of %prep
  48. #
  49. %__id_u            %{__id} -u
  50. %__chown_Rhf        %{__chown} -Rhf
  51. %__chgrp_Rhf        %{__chgrp} -Rhf
  52. %_fixowner        [ `%{__id_u}` = '0' ] && %{__chown_Rhf} root
  53. %_fixgroup        [ `%{__id_u}` = '0' ] && %{__chgrp_Rhf} root
  54. %_fixperms        %{__chmod} -Rf a+rX,g-w,o-w
  55.